package other.pourwater;

public class ShapeDrawer {

	public static void drawParallelogram(int height, int length) {
		for (int i = 0; i < height; ++i) {
			for (int j = 0; j < height - i - 1; ++j) {
				System.out.print(" ");
			}
			for (int j = 0; j < length; ++j) {
				System.out.print("*");
			}
			System.out.println();
		}
	}
	
	
	public static void main(String[] args) {
		drawParallelogram(3, 8);
		System.out.println();
		drawParallelogram(5, 4);
	}
}
